<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>分页测试页面</title>
</head>
<body>

    <tr>
        <td></td>
        <td>name</td>
        <td>va</td>
    </tr>
    <tr th:id="caonima">
        <td>target.id</td>
        <td></td>
        <td></td>
    </tr>

    <button th:id="btn">next</button>
    
    <script>
        $('#id').on('click',function () {
            $.ajax({
                url:'/admin/WDNMD/1/2',
                dataType:JSON,
                success:function (data) {
                    $('caonima').html(template('target',data))
                }
            })
        })
    </script>

    <script th:src="@{/static/dist/jquery/jquery-3.4.1.min.js}"></script>
    <script th:src="@{/static/dist/semantic/semantic.min.js}"></script>
    <script th:src="@{/static/lib/scrollTo/scrollTo.min.js}"></script>
    <script th:src="@{/static/lib/prism/prism.js}"></script>
    <script th:src="@{/static/lib/tocbot/tocbot.js}"></script>
    <script th:src="@{/static/lib/qrcode/qrcode.min.js}"></script>
    <script th:src="@{/static/lib/waypoints/waypoints.min.js}"></script>
</body>
</html>